<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title></title>
<#include "/view/head.html"/>
<script type="text/javascript">
<#if errors??>
	var msg = '';
	<#list errors as error>
	msg = msg + '${error}\n';
	</#list>
	alert(msg);
</#if>

$(function() {
	$("#jvForm").validate();
	$("#jvForm2").validate();
	$('#goods-buy').dialog({autoOpen:false,modal:true,resizable:false,width:500});
	$('#goods-export').dialog({autoOpen:false,modal:true,resizable:false,width:500});
});
</script>
</head>
<body>
<#include "/common/image_upload.html"/>
<div class="body-box">
<div class="rhead">
	<div class="rpos">订单详情 - ${order.product.name}</div>
	<form class="ropt">
		<input type="button" value="返回" onclick="history.back();"/>
	</form>
	<div class="clear"></div>
</div>

<h2>买家信息</h2>
<table width="100%" class="pn-ftable" cellpadding="2" cellspacing="1" border="0">
<tr>
<td width="10%" class="pn-flabel pn-flabel-h">姓名:</td>
<td width="20%" class="pn-fcontent">${order.consumerName!}</td>
<td width="10%" class="pn-flabel pn-flabel-h">手机号:</td>
<td width="20%" class="pn-fcontent">${order.consumerMobile!}</td>
<td width="10%" class="pn-flabel pn-flabel-h">身份证号:</td>
<td width="30%" class="pn-fcontent">${order.consumerIdcard!}</td>
</tr>
</table>

<h2>商品信息</h2>
<table width="100%" class="pn-ftable" cellpadding="2" cellspacing="1" border="0">
<tr>
<td width="10%" class="pn-flabel pn-flabel-h">商品名称:</td>
<td width="20%" class="pn-fcontent">${order.product.name}</td>
<td width="10%" class="pn-flabel pn-flabel-h">商品类别:</td>
<td width="20%" class="pn-fcontent">${order.product.type.name}</td>
<td width="15%" class="pn-flabel pn-flabel-h">商品分类:</td>
<td width="25%" class="pn-fcontent">${order.product.group.name}</td>
</tr>
<tr>
<td width="10%" class="pn-flabel pn-flabel-h">价格:</td>
<td width="20%" class="pn-fcontent">${order.price?string(",##0.00")}</td>
<td width="10%" class="pn-flabel pn-flabel-h">数量:</td>
<td width="20%" class="pn-fcontent">${order.quantity}</td>
<td width="15%" class="pn-flabel pn-flabel-h">总价:</td>
<td width="25%" class="pn-fcontent">${order.money?string(",##0.00")}</td>
</tr>
<tr>
<td width="10%" class="pn-flabel">商品缩略图:</td>
<td width="90%" colspan="5" class="pn-fcontent"><img id="preImg1" src="${order.product.imgPhoto!}" noResize="true" style="width:100px;height:70px;background-color:#CCCCCC;border:1px solid #333"/></td>
</tr>
</table>

<h2>其他信息</h2>
<table width="100%" class="pn-ftable" cellpadding="2" cellspacing="1" border="0">
<tr>
<td width="10%" class="pn-flabel pn-flabel-h">订单时间:</td>
<td width="90%" colspan="5" class="pn-fcontent">${order.createTime?string("yyyy-MM-dd HH:mm:ss")}</td>
</tr>
<tr>
<td width="10%" class="pn-flabel pn-flabel-h">备注:</td>
<td width="90%" colspan="5" class="pn-fcontent">${order.remark!}</td>
</tr>
</table>

</div>
<#include "/common/alert_message.html"/>
</body>
</html>
